package com.my.ext.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.my.ext.entity.Group;
import com.my.ext.entity.Org;

@Repository
public interface GroupMapper {

	public List<Group> findAll(@Param("org") Org org);
	
	public int saveGroup(@Param("group") Group group);
	
	public Group findMy(@Param("openid") String openid);
	
	public int updateGroup(@Param("group") Group group);
	
	public int modifyGroup(@Param("group") Group group);
}
